﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HBase {
    public  class BUtil {

      static  public bool eq(int s, params object[] o) {
            for (int i = 0; i < o.Length; i++) {
                if (s == (int)o[i]) {
                    return true;
                }
            }
            return false ;
      }

        static public bool bwkk(int s,   object o1 ,  object o2) {//开区间
            return s>(int)o1&&s<(int)o2;
        }
        static public bool bwkb(int s, object o1, object o2) {
            return s > (int)o1 && s <= (int)o2;
        }
        static public bool bwbb(int s, object o1, object o2) {
            return s >= (int)o1 && s <= (int)o2;
        }
        static public bool bwbk(int s, object o1, object o2) {
            return s >= (int)o1 && s < (int)o2;
        }
    }
}
